package com.whmnx.my.ui.activity;

import android.os.Bundle;

import com.whmnx.my.R;
import com.whmnx.my.databinding.ActivityXiangBinding;
import com.whmnx.my.ui.viewmodel.AppreaiseModel2;

import me.goldze.mvvmhabit.BR;
import me.goldze.mvvmhabit.base.BaseActivity;

/**
 * author : huang
 * date   : 2020/11/7 0007 14:45
 * version: 1.0
 */
public class AppraiseXiangActivity extends BaseActivity<ActivityXiangBinding, AppreaiseModel2> {
    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.activity_xiang;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public void initData() {
        super.initData();
        String  OrderId = getIntent().getStringExtra("OrderId");
        viewModel.initToolbar(this,binding, OrderId);
    }
}
